package com.by;

import com.by.abstractFactory.Goods.HuaSuo;
import com.by.abstractFactory.abstractFact.absFact;
import com.by.abstractFactory.abstractGoods.Desktop;
import com.by.abstractFactory.factory.HuaSuoFactory;

/**
 * Hello world!
 *
 */
public class absFactApp
{
    public static void main( String[] args )
    {
        absFact absFact=new HuaSuoFactory();
        HuaSuo deskTop = (HuaSuo) absFact.createDeskTop();
        System.out.println(deskTop);
        deskTop.display();
    }
}
